from poker.poker_color import PokerColor


class PokerCard():
    def __init__(self, suit, color):
        self.suit = suit
        self.color = color

    def __str__(self):
        return self.color + self.suit.value
    pass

class SpadesPokerCard(PokerCard):
    def __init__(self, suit):
        super().__init__(suit, PokerColor.spades)
    pass

class HeartsPokerCard(PokerCard):
    def __init__(self, suit):
        super().__init__(suit, PokerColor.hearts)
    pass

class ClubsPokerCard(PokerCard):
    def __init__(self, suit):
        super().__init__(suit, PokerColor.clubs)
    pass

class DiamondsPokerCard(PokerCard):
    def __init__(self, suit):
        super().__init__(suit, PokerColor.diamonds)
    pass


class RedJoker(HeartsPokerCard):
    def __init__(self):
        super().__init__()

    def __str__(self):
        return '大王'
    pass

class BlackJoker(SpadesPokerCard):
    def __init__(self):
        super().__init__()

    def __str__(self):
        return '小王'
    pass